//
//  ShellHomeViewModel.h
//  ShellWallert
//
//  Created by lvzhao on 2019/10/3.
//  Copyright © 2019 VV. All rights reserved.
//

#import "LZBaseViewModel.h"
#import "ShellNtworkHashRateModel.h"
#import "ShellReadAccountModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ShellHomeViewModel : LZBaseViewModel

@property (nonatomic,strong) ShellNtworkHashRateModel *hashRateModel; //算力

@property (nonatomic,strong) NSString *hashRateDesc; //算力描述文案
@property (nonatomic,strong) NSString *creditScoreDesc; //信用分描述文案


@property (nonatomic,strong) ShellReadAccountModel *accountModel; //账户


@property (nonatomic,strong) NSMutableArray *milestoneArray; //里程碑
@property (nonatomic,strong) NSMutableArray *countryArray; //国家


/**
 Convert 创建长链接
 */
- (void)createWebSocket;


/**
 Convert 请求首页的静态数据
 */
- (void)getStaticInfo:(BOOL)isLoading;
/**
 Convert 请求我的账户信用, 算力
 */
- (void)getReadAccount;

/**
 Convert 请求矿池奖励
 */
- (void)getHashAward;

@end

NS_ASSUME_NONNULL_END
